﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.ComponentModel;

namespace Officer2010.Infrastructure.Controls
{
    public class ImageButton 
        : Button
    {
        [Category("Common")]
        public static readonly DependencyProperty ImageSourceProperty =
           DependencyProperty.Register("ImageSource", typeof(ImageSource), typeof(ImageButton), null);  
        
#region Properties

        public ImageSource ImageSource
        {
            get { return GetValue(ImageSourceProperty) as ImageSource; }
            set { SetValue(ImageSourceProperty, value); }
        }

#endregion

    }
}
